/*******************************************************************************
 * Copyright (C) 2010 Devin Samarin.
 * 
 * This file is part of the SUIT Toolkit.
 * 
 * The SUIT Toolkit is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * The SUIT Toolkit is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU Lesser General Public License for more details.
 * 
 * You should have received a copy of the GNU Lesser General Public License
 * along with the SUIT Toolkit.  If not, see <http://www.gnu.org/licenses/>.
 ******************************************************************************/
package suit.ui;

import javax.microedition.lcdui.Font;
import javax.microedition.lcdui.Graphics;

/**
 * Extend this class to create custom themes
 * 
 * @author Devin Samarin
 * 
 */
public abstract class Theme {

	public abstract void drawButton(Graphics g, Widget object,
			Rectangle allocation, boolean active);

	public abstract void drawEntry(Graphics g, Widget object,
			Rectangle allocation);
	
	public abstract void drawListItem(Graphics g, Widget object,
			Rectangle allocation, boolean active);

	public abstract void drawProgressBorder(Graphics g, Widget object,
			Rectangle allocation);

	public abstract void drawProgressBar(Graphics g, Widget object,
			Rectangle allocation);

	public abstract void setLabelText(Graphics g);

	public abstract void setEntryText(Graphics g);

	public abstract Font getEntryTextFont();

	public abstract Font getLabelTextFont();
}